package net.linku.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.linku.model.BaseDTO;

import java.util.Date;

/**
 * LOV 独立值集表
 */
@ApiModel(description = "LOV 独立值集表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "l_c_lov_value")
public class LCLovValue extends BaseDTO<LCLovValue> {
    /**
     * LOV 独立值集 ID
     */
    @TableId(value = "lov_value_id", type = IdType.AUTO)
    @ApiModelProperty(value = "LOV 独立值集 ID")
    private Long lovValueId;

    /**
     * lov 表 Id
     */
    @TableField(value = "lov_id")
    @ApiModelProperty(value = "lov 表 Id")
    private Long lovId;

    /**
     * 租户 ID，值集 0 表示大众租户，1 表示后端集团租户
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(value = "租户 ID，值集 0 表示大众租户，1 表示后端集团租户")
    private Long tenantId;

    /**
     * 值集代码
     */
    @TableField(value = "lov_code")
    @ApiModelProperty(value = "值集代码")
    private String lovCode;

    /**
     * lov 值集，配置值集
     */
    @TableField(value = "lov_value")
    @ApiModelProperty(value = "lov 值集，配置值集")
    private String lovValue;

    /**
     * 值集名称
     */
    @TableField(value = "meaning")
    @ApiModelProperty(value = "值集名称")
    private String meaning;

    /**
     * 描述
     */
    @TableField(value = "description")
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * 标记
     */
    @TableField(value = "tag")
    @ApiModelProperty(value = "标记")
    private String tag;

    /**
     * 排序号
     */
    @TableField(value = "order_seq")
    @ApiModelProperty(value = "排序号")
    private Integer orderSeq;

    /**
     * 父值 ID
     */
    @TableField(value = "parent_value_id")
    @ApiModelProperty(value = "父值 ID")
    private String parentValueId;

    /**
     * 有效期起
     */
    @TableField(value = "start_date_active")
    @ApiModelProperty(value = "有效期起")
    private Date startDateActive;

    /**
     * 有效期止
     */
    @TableField(value = "end_date_active")
    @ApiModelProperty(value = "有效期止")
    private Date endDateActive;
}